

import java.io.FileInputStream;
import java.util.Properties;

public class ManipuladorProperties {

    public Properties carregarPropriedades() {
        
    	FileInputStream fis = null;
        Properties props = new Properties();
        try {
            fis = new FileInputStream("C:\\eclipse\\workspace\\Henrique\\src\\config.properties");
            props.load(fis);
            fis.close();
        }
        catch(Exception e) {
            e.printStackTrace();
        }
        return props;
    }
    
	public static void main(String[] args) {
		
		ManipuladorProperties mp = new ManipuladorProperties();
		Properties p = mp.carregarPropriedades();
		System.out.println(p.getProperty("tipoLeilao"));
		
	}

}
